A man was thrashed for and made to parade wearing garlands of slippers in Hardoi district of Uttar Pradeh for attempting to rape a minor girl.